﻿using GreenXi.Model;

namespace GreenXi.ViewModel
{
    public class UCMenuItemViewModel : UCMenItemModel
    {

        /// <summary>
        /// 初始化
        /// </summary>
        public void Init()
        {
            //加载菜单栏

            // ExpanderMenu.Visibility = itemMenu.SubItems == null ? Visibility.Collapsed : Visibility.Visible;
            // ListViewItemMenu.Visibility = itemMenu.SubItems == null ? Visibility.Visible : Visibility.Collapsed;
            //itemMenu;
        }
        public UCMenuItemViewModel()
        {
            Init();//初始化
        }
    }
}
